package com.partsoft.dits.ldap;

import java.beans.PropertyEditorSupport;

/**
 * LDAP连接类型Spring配置文件支持
 */
public class LdapConntectTypeEditSupport extends PropertyEditorSupport {

	@Override
	public void setAsText(String text) throws IllegalArgumentException {
		setValue(LdapConntectType.fromName(text));
	}

}
